package com.xiangban.service;

import com.xiangban.model.Shop;
import com.xiangban.model.ShopLogin;
import com.xiangban.model.dto.ShopLoginDto;

import java.util.ArrayList;

/**
 * @Author Mr. MaYaYun
 * @Data 2021/12/1 9:51
 */
public interface ShopService {
    Object login(ShopLogin shopLogin);
    ShopLoginDto getShopPermissionInformation();
    void losePermissionMenu();
    void loseToken();
    Object getShopInformation();
    void updateShopInformation(Shop shop);
    ArrayList<String> getPermission(Integer shopId);

    void updateShopPassword(ShopLogin shopLogin);
}
